package com.zsl.model;

/**
 * 用户表
 * 存放着用户登录账号，以及相应信息
 */
public class Users {
    private String id;      //用户id（不可使用
    private String username;    //用户名
    private String password;    //用户密码
    private String cellphone;   //座机号码
    private String mobilephone; //移动电话
    private String address;     //地址
    private String email;       //邮箱
    private String is_deleted;  //是否删除

    public Users() {
    }

    public Users(String id, String username, String password, String cellphone, String mobilephone, String address, String email) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.cellphone = cellphone;
        this.mobilephone = mobilephone;
        this.address = address;
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", cellphone='" + cellphone + '\'' +
                ", mobilephone='" + mobilephone + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", is_deleted='" + is_deleted + '\'' +
                '}';
    }
}
